package com.code.soulnetty.modbus.client.codec;

import io.netty.buffer.ByteBuf;

/**
 * modbustcp解析规则
 *
 **/
public class ModbusTcpCodec extends ModbusCodec {

    @Override
    public String msgId(ByteBuf header) {
        return String.valueOf(header.readShort());
    }

    @Override
    public boolean checkCrc16() {
        return false;
    }
}
